package com.cms.hilt

import androidx.core.app.ActivityCompat
import dagger.Binds
import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.android.components.ActivityComponent
import javax.inject.Inject

@Module
@InstallIn(ActivityComponent::class)
abstract class FruitModule {

    @Binds
    @BindApple
   abstract fun buyFruit(apple: Apple):Fruit
}